﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Dapper_Core.Basic
{
    public class StringIgnoreCase : IEqualityComparer<string>
    {
        public bool Equals(string item, string value)
        {
            return string.Equals(item, value, StringComparison.OrdinalIgnoreCase);
        }

        public int GetHashCode(string obj)
        {
            return obj.GetHashCode();
        }
    }
}
